package com.nit.store.pojo.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.time.LocalDateTime;

/**
 * @Author J1ay
 * @Date 2022/7/21 19:51
 * @Description 订单
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class Order extends BaseEntity{
    @TableId(type = IdType.AUTO)
    private Long oid;
    private Long uid;
    private String recvName;
    private String recvPhone;
    private String recvProvince;
    private String recvCity;
    private String recvArea;
    private String recvAddress;
    private Long price;
    private LocalDateTime orderTime;
    private LocalDateTime payTime;
    private Long status;
}
